package com.jeesite.modules.dataScreen.domain.monitoring;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

@Data
@ApiModel("舆情列表对象")
public class MonitoringSimple {
    //title,classify_name,source_type,publish_time
    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("分类名称")
    private String classifyName;
    @ApiModelProperty("来源")
    private String author;
    @JsonFormat(pattern = DatePattern.NORM_TIME_PATTERN,timezone = "GMT+8")
    @ApiModelProperty("发布时间")
    private Date publishTime;
    private String webName;


}
